Skip to content

ci: skip the milestone check in forks instead of failing it - #8053

Merged
PastaPastaPasta merged 1 commit into
dashpay:developfrom
PastaPastaPasta:ci/milestone-check-skip-forks
Nov 4, 2026
Merged

PastaPastaPasta merged 1 commit into
dashpay:developfrom
PastaPastaPasta:ci/milestone-check-skip-forks

Conversation

@PastaPastaPasta

Copy link
Copy Markdown
Member

Issue being fixed or feature implemented

"Check PR milestone / Require a milestone" also runs in forks of this repo, where it fails on every non-draft pull request (for example stacked PRs opened against a contributor's own fork). Milestones only mean something on dashpay/dash, so in a fork the check is a red X that nobody can or should clear.

What was done?

Gate the job on github.repository == 'dashpay/dash', the same guard predict-conflicts.yml and the Guix release job already use. In forks the job is now skipped rather than failed; on dashpay/dash nothing changes.

How Has This Been Tested?

Parsed the workflow and checked the job condition. The check runs on pull_request_target, which uses the base branch's workflow, so the new condition takes effect on PRs only after this merges.

Breaking Changes

None.

Checklist:

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have assigned this pull request to a milestone (if you have permission to set one)

🤖 Generated with Claude Code

Milestones only mean something on dashpay/dash. In forks, pull requests
(for example stacked PRs opened against a contributor's own fork) failed
"Require a milestone" even though there is nothing to set. Gate the job on
the repository so it is skipped there instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ⚠️ Failed 2026-11-04T17:46:27.794711Z
We couldn’t complete this review. Comment @codex review to try again.
eac03d5 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@coderabbitai

coderabbitai Bot commented Nov 4, 2026

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The milestone workflow job now runs only when the repository is dashpay/dash and the pull request is not a draft. Previously, the job condition checked only whether the pull request was not a draft.

Estimated code review effort: 1 (Trivial) | ~3 minutes

Possibly related PRs

  • dashpay/dash#7987: Added the milestone workflow whose job condition this change narrows.
  • dashpay/dash#8008: Set the pull_request_target trigger used by the workflow with this job condition.
Merge Risk: Minimal · up to eac03

The change skips milestone checks in fork repositories while preserving checks for non-draft pull requests targeting dashpay/dash. It is ready to merge after normal checks.

Pre-merge checks: Passed 5
Check name Status Explanation
Title check Passed The title names the main change: the milestone check job is now skipped in forks instead of failing. The raw summary confirms the workflow gate on dashpay/dash and non-draft PRs, so the title matches …
Description check Passed The description states the problem (the milestone check fails in forks on non-draft PRs) and the fix (gating the job on github.repository == 'dashpay/dash'). It also covers testing and the timing of t…
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title names the main change: the milestone check job is now skipped in forks instead of failing. The raw summary confirms the workflow gate on dashpay/dash and non-draft PRs, so the title matches the changeset. The title uses the conventional 'ci:' prefix and stays under 60 characters.

Full details: Description check

Explanation

The description states the problem (the milestone check fails in forks on non-draft PRs) and the fix (gating the job on github.repository == 'dashpay/dash'). It also covers testing and the timing of the change under pull_request_target. This directly describes the changed workflow, so the description is related to the changeset.

Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.)

Finishing Touches
Generate unit tests (beta)
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share
Recent review info
Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Repository UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 4830ac63-ab96-4dc9-9ae0-72e42b56590d
Commits

Reviewing files that changed from the base of the PR and between 9e5e3d5 and eac03d5.

Files selected for processing: 1
  • .github/workflows/check-milestone.yml

Included review availability: This review used your included allowance. Your plan provides up to 4 included reviews per hour; 1 remain after this review.

@PastaPastaPasta PastaPastaPasta added this to the 24.1 milestone Nov 4, 2026
@thepastaclaw

Copy link
Copy Markdown
Collaborator

🕓 Review not started yet because the new head is waiting for the 30-minute push debounce.

  • Request normal review — click when the PR is ready for review.
  • Request priority review — click to move this review to the front of the queue.

Commit eac03d5. Normal review starts when eligible; priority review starts as soon as a slot is available.

@knst knst left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

utACK eac03d5

@PastaPastaPasta
PastaPastaPasta merged commit 395c6fc into dashpay:develop Nov 4, 2026
38 of 39 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants